//package com.tree.common.config.redis;
//
//import lombok.Data;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.stereotype.Component;
//import org.springframework.validation.annotation.Validated;
//
//import javax.validation.constraints.NotNull;
//
///**
// * @ClassName com.demo.common.config.redis
// * Description: <类功能描述>. <br>
// * <p>
// * <使用说明>
// * </p>
// * @Author tree
// * @Date 2019-05-25 00:37
// * @Version 1.0
// */
//@Component
//@ConfigurationProperties(prefix = "redis")
//@Data
//@Validated
//public class JedisRedisProperties {
//    @NotNull
//    private String hostName;
//    @NotNull
//    private Integer port;
//    private String password;
//    private Boolean usePool;
//    private Integer maxIdle;
//    private Integer maxTotal;
//    private Boolean testOnBorrow;
//    private Integer timeout;
//}
